<template>
  <conTainer title="题库管理">
    <template #hd>
      <el-row>
        <el-col :span="5">
          <el-button @click="showAddDialog = true">加钱啊！</el-button>
        </el-col></el-row
      >
    </template>
    <el-dialog
      v-model="showAddDialog"
      title="新增一个问题"
      fullscreen
      width="900px"
      center
    >
      <el-form>
        <el-form-item label="公司名称"
          ><el-input
            ><template #suffix>
              <button>选择公司</button>
            </template></el-input
          >
        </el-form-item>
        <el-form-item label="标题">
          <el-input />
        </el-form-item>
        <el-form-item>
          <vue-qrcode
            :value="`http://127.0.0.1:8080/#/uploadimg?uuid=${uuid}`"
            :options="{ width: 200 }"
          ></vue-qrcode>
        </el-form-item>
        <el-form-item label="问题描述">
          <el-input
            type="textarea"
            :rows="4"
            :autosize="{ minRows: 4, maxRows: 4 }"
          /> </el-form-item
        ><el-form-item label="标签"> </el-form-item> </el-form
    ></el-dialog>
  </conTainer>
</template>

<script setup lang="ts">
import { ref } from 'vue'
const showAddDialog = ref<boolean>(false)
</script>

<script lang="ts">
export default {
  name: 'QaTi'
}
</script>
